﻿body {
    display: flex;
    flex-flow: wrap;
}

a.fa {
    color: #ccc;
}

.nav {
    height: 50px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    background: #6666ff;
}

    .nav > div {
        font-size: 24px;
        color: #fff;
        line-height: 50px;
        margin-left: 10px;
        letter-spacing: 5px;
    }

ul {
    padding: 0;
    margin: 0;
}

.menu li {
    width: 120px;
    line-height: 50px;
    list-style: none;
    color: #fff;
    text-align: center;
    height: 50px;
    cursor: pointer;
    background: #6666ff;
}

    .menu li:hover {
        background: #8181ff;
    }

.menu > li > ul {
    display: none;
    position: absolute;
}

.menu > li:hover > ul {
    display: block;
}

.panel {
    width: 100vw;
    height: calc(100vh - 50px);
    display: flex;
    justify-content: flex-start;
}

    .panel .app, .panel .table {
        height: 100%;
        width: 180px;
        box-shadow: 3px 0 3px #ddd;
        padding: 10px 12px;
        overflow: auto;
    }

    .panel .table {
        width: 220px;
    }

        .panel .app h2, .panel .table h2 {
            margin: 0;
            font-size: 16px;
            font-weight: 400;
            border-bottom: 1px solid #ddd;
            padding-bottom: 10px;
            padding-left: 3px;
            display: flex;
            justify-content: space-between;
        }

            .panel .app h2 a, .panel .table h2 a {
                font-size: 20px;
                text-decoration: none;
            }

                .panel .app h2 a:hover, .panel .table h2 a:hover {
                    color: #ff6666;
                }

.app-list {
    padding: 10px 0;
}

    .app-list .ops {
        border: 1px solid #dfdfdf;
        border-radius: 10px;
        padding: 8px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all .3s;
    }

        .app-list .ops:hover {
            box-shadow: 0 0 5px #ccc;
            transform: scale(1.01,1.01);
        }

.ops > div:first-child {
    font-size: 15px;
    letter-spacing: 1px;
}

.ops.active {
    background-color: #ff6666;
    color: #fff;
    border-color: #ff6666;
}

.ops > div:nth-child(2) {
    color: #a6a6a6;
    font-size: 12px;
    margin: 5px 0;
}

.ops.active > div:nth-child(2) {
    color: #d6d6d6;
    font-size: 12px;
    margin: 5px 0;
}

.ops > div:last-child > a {
    text-decoration: none;
    font-size: 18px;
    margin: 5px 10px 0 2px;
}

.ops > div:last-child > a {
    color: #d6d6d6;
}

    .ops > div:last-child > a:hover {
        color: #ff6666;
    }

.ops.active > div:last-child > a:hover {
    color: #fff;
}

.excute {
    width: calc(100% - 400px);
    height: 100%;
}

    .excute .tabs {
        width: 100%;
        font-size: 0;
        height: 30px;
        border-bottom: 1px solid #ddd;
    }

        .excute .tabs div {
            display: inline-block;
            font-size: 15px;
            line-height: 30px;
            padding: 0 20px;
            border-right: 1px solid #ddd;
            cursor: pointer;
        }

            .excute .tabs div.active {
                background-color: #ff6666;
                color: #fff;
            }

.content {
    width: 100%;
    height: calc(100% - 30px);
    overflow: auto;
}

.struc-panel, .api-panel, .add-panel {
    padding: 15px;
}

.dataTable {
    border-top: 1px solid #f6f6f6;
    border-left: 1px solid #f6f6f6;
    border-spacing: 0;
    width: 100%;
    background-color: #fff;
}

    .dataTable td, .dataTable th {
        border-bottom: 1px solid #f6f6f6;
        border-right: 1px solid #f6f6f6;
        font-size: 13px;
        padding: 2px 8px;
        text-align: left;
    }

    .dataTable th {
        background-color: #444;
        color: #fff;
        padding: 6px 8px;
    }

    .dataTable td img {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .dataTable .caozuo {
        width: 100px;
        text-align: center;
    }

    .dataTable .fa {
        font-size: 20px;
        text-decoration: none;
        margin: 0 3px;
    }

        .dataTable .fa:hover {
            color: #ff6666;
        }

.struc-panel > div {
    width: 100%;
    margin: 10px 0;
}

.struc-panel .struc-btns input {
    background-color: #6666ff;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
    border: 0;
    margin-right: 10px;
}

.struc-panel .struc-fileds div {
    display: inline-block;
    font-size: 14px;
}

    .struc-panel .struc-fileds div:nth-child(1) {
        width: 150px;
    }

    .struc-panel .struc-fileds div:nth-child(2),
    .struc-panel .struc-fileds div:nth-child(3) {
        width: 80px;
    }

    .struc-panel .struc-fileds div:nth-child(4) {
        width: 300px;
    }

.struc-list .ops {
    margin-bottom: 6px;
}

    .struc-list .ops .f-name {
        width: 150px;
        padding: 3px 6px;
        border: 1px solid #aaa;
        border-radius: 5px;
    }

    .struc-list .ops .f-type {
        width: 80px;
        padding: 3px 6px;
        border: 1px solid #aaa;
        border-radius: 5px;
    }

    .struc-list .ops .f-default {
        width: 80px;
        padding: 3px 6px;
        border: 1px solid #aaa;
        border-radius: 5px;
    }

    .struc-list .ops .f-des {
        width: 300px;
        padding: 3px 6px;
        border: 1px solid #aaa;
        border-radius: 5px;
    }

    .struc-list .ops input[type=button] {
        padding: 3px 10px;
        border: 0;
        border-radius: 5px;
        background-color: #ff6666;
        color: #fff;
    }

.form-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.1);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .form-container .form-panel {
        background-color: #fff;
        width: 300px;
        height: auto;
        border-radius: 10px;
    }

.form-panel .form-title {
    background-color: #5c5ce5;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
}

.form-panel .form {
    padding: 20px 15px;
}

.api-panel h2 {
    margin: 0;
    font-size: 16px;
    margin: 20px 0 10px 0;
    border-left: #ff6666 5px solid;
    padding: 3px 10px
}

.api-panel p {
    margin: 0;
    margin: 10px 0;
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 8px;
}

.form-option label input {
    margin-right: 10px;
}

.form-option .upload {
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100px !important;
}
